package com.feng.cloud.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feng.cloud.system.entity.SystemUser;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @ClassName UserMapper
 * @Description TODO
 * @Author Better Feng
 * @Date 2019/12/19 17:41
 * @Version 1.0
 **/
public interface UserMapper extends BaseMapper<SystemUser> {

    /**
     * 分页条件查询
     *
     * @param page    Page
     * @param request QueryRequest
     * @return IPage<SystemUser>
     */
    IPage<SystemUser> selectListByPage(Page<SystemUser> page, @Param("map") Map<String,Object> request);
}
